package com.ruoyi.college.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程安排主对象 t_course_arrangement
 * 
 * @author ruoyi
 * @date 2025-08-25
 */
public class CourseArrangement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程安排ID */
    private Long arrangementId;

    /** 课程ID */
    //@Excel(name = "课程ID")
    private Long courseId;

    @Excel(name = "课程")
    private String courseName;

    /** 学期ID */
    //@Excel(name = "学期ID")
    private Long semesterId;

    @Excel(name = "学期")
    private String semesterName;

    /** 课程负责人ID */
    @Excel(name = "主讲教师ID")
    private Long leaderId;

    /** 课程负责人ID */
    @Excel(name = "主讲教师")
    private String leaderName;

    /** 选取课程状态：1-正常，0-已取消 */
    @Excel(name = "选取课程状态：1-正常，0-已取消")
    private Integer status;

    public void setArrangementId(Long arrangementId) 
    {
        this.arrangementId = arrangementId;
    }

    public Long getArrangementId() 
    {
        return arrangementId;
    }

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setSemesterId(Long semesterId) 
    {
        this.semesterId = semesterId;
    }

    public Long getSemesterId() 
    {
        return semesterId;
    }

    public void setLeaderId(Long leaderId) 
    {
        this.leaderId = leaderId;
    }

    public Long getLeaderId() 
    {
        return leaderId;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getSemesterName() {
        return semesterName;
    }

    public void setSemesterName(String semesterName) {
        this.semesterName = semesterName;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("arrangementId", getArrangementId())
            .append("courseId", getCourseId())
            .append("semesterId", getSemesterId())
            .append("leaderId", getLeaderId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
